﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  xmlns:asp="remove">
    <xsl:output method="xml" indent="yes" encoding="utf-8" omit-xml-declaration="yes"/>
    <xsl:template match="/">      
      <xsl:for-each select="TaiKhoan/Li">
        <li onmouseover="changeChildStyle(this,'span','ogrance');changeChildStyle(childLi,'span','ogrance'); "  onmouseout="changeChildStyle(this,'span','')" >
         <span></span>
          <asp:HyperLink ID="HyperLink3" style="background-image: url('Icons/inbox_24.png'); " runat="server">
            <xsl:attribute name="style">
              <xsl:value-of select="image"/>
            </xsl:attribute>
            <xsl:value-of select="text"/>            
          </asp:HyperLink>
          <xsl:if test="/Ul">
            <ul class="childLi">
              <xsl:for-each select="TaiKhoan/Li/Ul/Li">
                <li>
                  <asp:HyperLink ID="HyperLink7" style="" runat="server">
                    <xsl:attribute name="id">
                      <xsl:value-of select="id"/>
                    </xsl:attribute>
                    <xsl:value-of select="text"/>
                  </asp:HyperLink>
                </li>
              </xsl:for-each>
            </ul>
          </xsl:if>
        </li>
      </xsl:for-each>
    </xsl:template>
</xsl:stylesheet>
